Towards fair, scalable, locking
نویسندگان
چکیده
Without care, Hardware Transactional Memory presents several performance pathologies that can degrade its performance. Among them, writers of commonly read variables can suffer from starvation. Though different solutions have been proposed for HTM systems, hybrid systems can still suffer from this performance problem, given that software transactions don’t interact with the mechanisms used by hardware to avoid starvation. In this paper we introduce a new per-directory-line hardware contention management mechanism that allows fairer access between both software and hardware threads without the need to abort any transaction. Our mechanism is based on “reserving” directory lines, implementing a limited fair queue for the requests on that line. We adapt the mechanism to the LogTM conflict detection mechanism and show that the resulting proposal is deadlock free. Finally, we sketch how the idea could be applied more generally to reader-writer locks.
منابع مشابه
Fairlocks A High Performance Fair Locking Scheme
Over the past several decades, much research has been done in the area of modeling, simulating, and measuring the performance of locking primitives under conditions of low and high contention and with attention to memory locality of the locking data structures. Most of the existing locking primitives are not fair with respect to lock grants and can cause lock starvation among CPUs during high c...
متن کاملPENALTY METHOD FOR UNILATERAL CONTACT PROBLEM WITH COULOMB’S FRICTION FOR LOCKING MATERIAL
In this work, we study a unilateral contact problem with non local friction of Coulombbetween a locking material and a rigid foundation. In the first step , we present the mathematicalmodel for a static process, we establish the variational formulation in the form of a variationalinequality and we prove the existence and uniqueness of the solution. In the second step, usingthe penalty method we...
متن کاملThe Outcome of Proximal Humeral Locking Plates in the Management of Three and Four Part Proximal Humeral Fractures in Special Cohort of Young Patients in High Velocity Trauma
Background: Locking plate fixation provides satisfactory outcome following proximal humerus fractures. None of theprevious studies selectively evaluate the outcome in young patients. This study evaluates outcome of locking platesystem in the treatment of acute three- and four-part fractures in young patients.Methods: In this prospective study we included all patients who were less than 60 years...
متن کاملFair Multi-Branch Locking of Several Locks
Thread-based concurrent languages currently do not provide much support to (a) avoid deadlocks, (b) treat competing threads in a fair way, and (c) allow branching depending on lock availability. This makes parallel programming di cult and error prone and thus reduces the programmer's productivity. In this paper we present a lock statement for fair atomic locking of several locks that supports (...
متن کاملEffects of Locking and Synchronization on Future Large Scale CMP Platforms
As we enter the era of large-scale Chip MultiProcessing (CMP) systems, evaluating architectures and projecting performance for commercial workloads on such systems is becoming increasingly important. One of the major areas of concern for Multi-Socket SMP systems has been the detrimental effects of Locking and Synchronization (L&S) overheads. However, the lower on-die interconnect latency and hi...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2008